package com.mes.entity.yzl;


import java.sql.Date;
import java.util.List;

import com.mes.entity.yzlExtend.ExtendProductor;

public class CustomerOrder {
    private long id;
    private String orderNumber;//客户订单 定长(15)  not null
    private long customerId;//客户Id  not null
    //private long productId;//产品Id  not null
    //private int orderQuantity;//需求数量  not null
    private Date demandDate;//需求日期
    private String produceStatus;//生产状态 0未开始，1生产中，2生产完成 not null 定长(1)
    private String outLibraryStatus;//出库状态 0已出库 1未出库 not null 定长(1)
    private int entryPerson;//录入人  not null
    private String orderExamineStatus;//审核状态 not null 定长(1)  0未提交审核  1审核中  2审核通过
    private String isClose;//是否关闭 0表示未删除 1表示已删除
    private List<ExtendProductor> extendProductorList;//子项集合
    private String name;//客户名
    private String remark;//客户名
    private String isSelect;//是否被选 0表示未被选择   1表示已被选择
    private String entryPersonName;//指定人名称
    private int approvedMan;//审批人
    private String approvedName;//审批人人名称

	public int getApprovedMan() {
		return approvedMan;
	}

	public void setApprovedMan(int approvedMan) {
		this.approvedMan = approvedMan;
	}

	public String getApprovedName() {
		return approvedName;
	}

	public void setApprovedName(String approvedName) {
		this.approvedName = approvedName;
	}

	public String getEntryPersonName() {
		return entryPersonName;
	}

	public void setEntryPersonName(String entryPersonName) {
		this.entryPersonName = entryPersonName;
	}

	public String getIsSelect() {
		return isSelect;
	}

	public void setIsSelect(String isSelect) {
		this.isSelect = isSelect;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ExtendProductor> getExtendProductorList() {
		return extendProductorList;
	}

	public void setExtendProductorList(List<ExtendProductor> extendProductorList) {
		this.extendProductorList = extendProductorList;
	}

	public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getProduceStatus() {
        return produceStatus;
    }

    public void setProduceStatus(String produceStatus) {
        this.produceStatus = produceStatus;
    }

    public String getOutLibraryStatus() {
        return outLibraryStatus;
    }

    public void setOutLibraryStatus(String outLibraryStatus) {
        this.outLibraryStatus = outLibraryStatus;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public long getCustomerId() { return customerId; }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public Date getDemandDate() {
        return demandDate;
    }

    public void setDemandDate(Date demandDate) {
        this.demandDate = demandDate;
    }

    public int getEntryPerson() {
        return entryPerson;
    }

    public void setEntryPerson(int entryPerson) {
        this.entryPerson = entryPerson;
    }

    public String getOrderExamineStatus() {
        return orderExamineStatus;
    }

    public void setOrderExamineStatus(String orderExamineStatus) {
        this.orderExamineStatus = orderExamineStatus;
    }

    public String getIsClose() {
        return isClose;
    }

    public void setIsClose(String isClose) {
        this.isClose = isClose;
    }

    @Override
    public String toString() {
        return "CustomerOrder{" +
                "id=" + id +
                ", orderNumber='" + orderNumber + '\'' +
                ", customerId=" + customerId +
                ", demandDate=" + demandDate +
                ", produceStatus=" + produceStatus +
                ", outLibraryStatus=" + outLibraryStatus +
                ", entryPerson=" + entryPerson +
                ", orderExamineStatus='" + orderExamineStatus + '\'' +
                '}';
    }
}
